<template>
  <div>
    <h2>我是Home的内容</h2>
    <div>
      <!-- 导航区 -->
      <ul class="nav nav-tabs">
        <li>
          <router-link class="list-group-item" active-class="active" to="/home/news">News</router-link>
        </li>
        <li>
          <!-- <router-link class="list-group-item" active-class="active" to="/home/message">Message</router-link> -->
          <router-link class="list-group-item" active-class="active" :to="{name:'xiaoxi'}">Message</router-link>
        </li>
      </ul>
      <!-- 展示区 -->
      <div class="panel panel-body panel-primary">
        <!-- 挖坑 -->
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name:'Home',
  }
</script>

<style scoped>
  li {
    margin-bottom:0
  }
</style>